package chapter04;

/**
 * Created by V5470-I5 on 2016/3/16.
 */
 class Average {
    public static void main (String[] args){
        long sum=0;
        for(String arg:args){
            sum+=Long.parseLong(arg);
        }
        System.out.println("平均："+(float)sum/args.length);
    }
}
